/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufba.lasid.v1.jitclouds.mda.api;

import br.ufba.lasid.v1.jitclouds.mda.datatypes.FTServiceLevel;
import br.ufba.lasid.v1.jitclouds.mda.datatypes.report.Report;

/**
 *
 * @author aliriosa
 */
/**
 *
 * @author aliriosa
 */
public interface JiTFTManagerAPI {

    public enum JiTContexts{
        Replication, Recovery, Reconfiguration, 
        FailureNotification, Synchronization, Deployment        
    }
    
    public void start();
    public void stop();
    
    public Report replicate(
        String resourceID, 
        FTServiceLevel ftsLevel 
    ) throws Exception;
    
    public Report recovery(String resourceID) throws Exception;
    
    public void notifyFaulty(String resourceID) throws Exception;
}